package com.sk.bilibili.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 邵康
 * @date 2021/11/25 10:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DiscussInfo extends PageInfo{

    @ApiModelProperty("0视频评论    1番剧评论   2图文Note评论   3评论的评论 ")
    private Integer type;
    private Integer targetId;
    @ApiModelProperty("0热度   1时间   默认热度")
    private Integer sort=0;

    private static final String[] COLUMNS="praise_num,create_date".split(",");

    public String getColumn(){
        return COLUMNS[sort];
    }

}
